Skip to content

Make the workflow history length available - #445

Merged
cschleiden merged 2 commits into
mainfrom
workflow-history-length
Oct 24, 2025
Merged

Make the workflow history length available#445
cschleiden merged 2 commits into
mainfrom
workflow-history-length

Conversation

@cschleiden

@cschleiden cschleiden commented Oct 23, 2025

Copy link
Copy Markdown
Owner

This pull request introduces the ability for workflow code to access the current workflow history length during execution. This is achieved by adding a new HistoryLength field to the workflow state, exposing it via a new InstanceExecutionDetails API, and thoroughly testing the new functionality. The changes also include a new sample demonstrating how to use this feature.

Closes: #390

@cschleiden

Copy link
Copy Markdown
Owner Author

@copilot Fix the linting errors in this PR

Copilot AI commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

@cschleiden I've opened a new pull request, #447, to work on those changes. Once the pull request is ready, I'll request review from you.

@cschleiden
cschleiden merged commit 33a43f6 into main Oct 24, 2025
4 checks passed
@cschleiden
cschleiden deleted the workflow-history-length branch October 24, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get workflow history length from within workflow

2 participants